 <!--所有 -->
<div id="sy" class="zs-data-table" ng-show="tabs['cms_document'].tabClass['sy']">
    <div class="container">
        <table>
            <thead>
                <tr>
                    <th>
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_document','allCheckbox');">
                    </th>
                    <th>标题</th>
                    <th>发布信息</th>
                    <th>状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="r in cms_document.datas">
	                <td>
	                	<input type="checkbox"
		                    ng-click="selectRow('cms_document',r);"
		                    ng-model="r.selected" />
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(r);">
	                        <label ng-bind="r.title"></label><br/>
	                        [<label ng-bind="r.siteName"></label>]-[<label ng-bind="r.columnName"></label>]-[<label ng-bind="r.subjectName"></label>]
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(r);">
	                        发布人:<label ng-bind="r.release"></label> - 发布时间:<label ng-bind="r.publishDate | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(r);">
	                        <label ng-bind="r.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
    	<ag-Page fn='cms_document'></ag-Page>
	</div>
</div>

<!--草稿 -->
<div id="cg" class="zs-data-table" ng-show="tabs['cms_document'].tabClass['cg']">
   	<div class="container">
        <table>
            <thead>
                <tr>
                    <th>
                    	<input id="allCheckbox_cg" type="checkbox"
                    		ng-click="selectAll('cms_document','allCheckbox_cg');">
                    </th>
                    <th>标题</th>
                    <th>发布信息</th>
                    <th>状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="cg in cms_document_cg.datas">
	                <td>
	                	<input type="checkbox"
		                    ng-click="selectRow('cms_document',cg);"
		                    ng-model="cg.selected" />
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(cg);">
	                        <label ng-bind="cg.title"></label><br/>
	                        [<label ng-bind="cg.siteName"></label>]-[<label ng-bind="cg.columnName"></label>]-[<label ng-bind="cg.subjectName"></label>]
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(cg);">
	                        发布人:<label ng-bind="cg.release"></label> - 发布时间:<label ng-bind="cg.publishDate | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(cg);">
	                        <label ng-bind="cg.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
    	<ag-Page fn='cms_document_cg'></ag-Page>
	</div>
</div>

<!--投稿 -->
<div id="tg" class="zs-data-table" ng-show="tabs['cms_document'].tabClass['tg']">
   	<div class="container">
        <table>
            <thead>
                <tr>
                    <th>
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_document','allCheckbox');">
                    </th>
                    <th>标题</th>
                    <th>发布信息</th>
                    <th>状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="tg in cms_document_tg.datas">
	                <td>
	                	<input type="checkbox"
		                    ng-click="selectRow('cms_document',tg);"
		                    ng-model="tg.selected" />
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(tg);">
	                        <label ng-bind="tg.title"></label><br/>
	                        [<label ng-bind="tg.siteName"></label>]-[<label ng-bind="tg.columnName"></label>]-[<label ng-bind="tg.subjectName"></label>]
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(tg);">
	                        发布人:<label ng-bind="tg.release"></label> - 发布时间:<label ng-bind="tg.publishDate | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(tg);">
	                        <label ng-bind="tg.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
    	<ag-Page fn='cms_document_tg'></ag-Page>
	</div>
</div>

<!--待审 -->
<div id="ds" class="zs-data-table" ng-show="tabs['cms_document'].tabClass['ds']">
   	<div class="container">
        <table>
            <thead>
                <tr>
                    <th>
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_document','allCheckbox');">
                    </th>
                    <th>标题</th>
                    <th>发布信息</th>
                    <th>状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="ds in cms_document_ds.datas">
	                <td>
	                	<input type="checkbox"
		                    ng-click="selectRow('cms_document',ds);"
		                    ng-model="ds.selected" />
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(ds);">
	                        <label ng-bind="ds.title"></label><br/>
	                        [<label ng-bind="ds.siteName"></label>]-[<label ng-bind="ds.columnName"></label>]-[<label ng-bind="ds.subjectName"></label>]
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(ds);">
	                        发布人:<label ng-bind="ds.release"></label> - 发布时间:<label ng-bind="ds.publishDate | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(ds);">
	                        <label ng-bind="ds.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
    	<ag-Page fn='cms_document_ds'></ag-Page>
	</div>
</div>

<!--待发布 -->
<div id="dfb" class="zs-data-table" ng-show="tabs['cms_document'].tabClass['dfb']">
   	<div class="container">
        <table>
            <thead>
                <tr>
                    <th>
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_document','allCheckbox');">
                    </th>
                    <th>标题</th>
                    <th>发布信息</th>
                    <th>状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="dfb in cms_document_dfb.datas">
	                <td>
	                	<input type="checkbox"
		                    ng-click="selectRow('cms_document',dfb);"
		                    ng-model="dfb.selected" />
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(dfb);">
	                        <label ng-bind="dfb.title"></label><br/>
	                        [<label ng-bind="dfb.siteName"></label>]-[<label ng-bind="dfb.columnName"></label>]-[<label ng-bind="dfb.subjectName"></label>]
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(dfb);">
	                        发布人:<label ng-bind="dfb.release"></label> - 发布时间:<label ng-bind="dfb.publishDate | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(dfb);">
	                        <label ng-bind="dfb.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
    	<ag-Page fn='cms_document_dfb'></ag-Page>
	</div>
</div>

<!--已发布 -->
<div id="yfb" class="zs-data-table" ng-show="tabs['cms_document'].tabClass['yfb']">
   	<div class="container">
        <table>
            <thead>
                <tr>
                    <th>
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_document','allCheckbox');">
                    </th>
                    <th>标题</th>
                    <th>发布信息</th>
                    <th>状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="yfb in cms_document_yfb.datas">
	                <td>
	                	<input type="checkbox"
		                    ng-click="selectRow('cms_document',yfb);"
		                    ng-model="yfb.selected" />
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(yfb);">
	                        <label ng-bind="yfb.title"></label><br/>
	                        [<label ng-bind="yfb.siteName"></label>]-[<label ng-bind="yfb.columnName"></label>]-[<label ng-bind="yfb.subjectName"></label>]
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(yfb);">
	                        发布人:<label ng-bind="yfb.release"></label> - 发布时间:<label ng-bind="yfb.publishDate | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(yfb);">
	                        <label ng-bind="yfb.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
    	<ag-Page fn='cms_document_yfb'></ag-Page>
	</div>
</div>

<!--过期 -->
<div id="gq" class="zs-data-table" ng-show="tabs['cms_document'].tabClass['gq']">
   	<div class="container">
        <table>
            <thead>
                <tr>
                    <th>
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_document','allCheckbox');">
                    </th>
                    <th>标题</th>
                    <th>发布信息</th>
                    <th>状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="gq in cms_document_gq.datas">
	                <td>
	                	<input type="checkbox"
		                    ng-click="selectRow('cms_document',gq);"
		                    ng-model="gq.selected" />
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(gq);">
	                        <label ng-bind="gq.title"></label><br/>
	                        [<label ng-bind="gq.siteName"></label>]-[<label ng-bind="gq.columnName"></label>]-[<label ng-bind="gq.subjectName"></label>]
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(gq);">
	                        发布人:<label ng-bind="gq.release"></label> - 发布时间:<label ng-bind="gq.publishDate | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(gq);">
	                        <label ng-bind="gq.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
    	<ag-Page fn='cms_document_gq'></ag-Page>
	</div>
</div>

<!--退稿 -->
<div id="tuig" class="zs-data-table" ng-show="tabs['cms_document'].tabClass['tuig']">
   	<div class="container">
        <table>
            <thead>
                <tr>
                    <th>
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_document','allCheckbox');">
                    </th>
                    <th>标题</th>
                    <th>发布信息</th>
                    <th>状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="tuig in cms_document_tuig.datas">
	                <td>
	                	<input type="checkbox"
		                    ng-click="selectRow('cms_document',tuig);"
		                    ng-model="tuig.selected" />
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(tuig);">
	                        <label ng-bind="tuig.title"></label><br/>
	                        [<label ng-bind="tuig.siteName"></label>]-[<label ng-bind="tuig.columnName"></label>]-[<label ng-bind="tuig.subjectName"></label>]
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(tuig);">
	                        发布人:<label ng-bind="tuig.release"></label> - 发布时间:<label ng-bind="tuig.publishDate | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(tuig)">
	                        <label ng-bind="tuig.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
    	<ag-Page fn='cms_document_tuig'></ag-Page>
	</div>
</div>

<!--评论待审 -->
<div id="plds" class="zs-data-table" ng-show="tabs['cms_document'].tabClass['plds']">
   	<div class="container">
        <table>
            <thead>
                <tr>
                    <th>
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_document','allCheckbox');">
                    </th>
                    <th>标题</th>
                    <th>发布信息</th>
                    <th>状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="plds in cms_document_plds.datas">
	                <td>
	                	<input type="checkbox"
		                    ng-click="selectRow('cms_document_plds',plds);"
		                    ng-model="plds.selected" />
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(plds);">
	                        <label ng-bind="plds.title"></label><br/>
	                        [<label ng-bind="plds.siteName"></label>]-[<label ng-bind="plds.columnName"></label>]-[<label ng-bind="plds.subjectName"></label>]
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(plds);">
	                        发布人:<label ng-bind="plds.release"></label> - 发布时间:<label ng-bind="plds.publishDate | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="openWindowByColumnMode(plds);">
	                        <label ng-bind="plds.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
    	<ag-Page fn='cms_document_plds'></ag-Page>
	</div>
</div>

<!--评论审核弹窗-->
<div ag-Window id="edit_plsp" title="评论签批" class="zs-data-table" width='1000px' height='600px'>
    <div class="container">
        <table>
            <thead>
                <tr>
                    <th>用户</th>
                	<th>评论</th>
                	<th>国家</th>
                	<th>日期</th>
                	<th>评论审核状态</th>
                	<th>操作</th>
                </tr>
            </thead>
            <tbody>
	            <tr ng-repeat="comment in cms_document.editRow.comment">
	                <td>
	                	<label ng-bind="comment.username"></label></td>
	                <td>
	                    <label title="{{comment.content}}" ng-bind="comment.content |asLength:20"></label></td>
	                <td>
	                    <label ng-bind="comment.fbgj"></label></td>
	                 <td>
	                    <label ng-bind="comment.spDate | asChineseDate "></label></td>
	                    <td>
	                    <label ng-bind="comment.spztName"></label></td>
	                <td>
	                    <input type="button" class="zs-btn orange" value="通过 " ng-show="comment.spzt!=2"
	                    	 ng-click="plshtg('cms_document', cms_document.editRow,comment);" />
	                    <input type="button" class="zs-btn orange" value="不通过 " ng-show="comment.spzt==2"
	                    	 ng-click="plshtg('cms_document', cms_document.editRow,comment);" />
	                </td>
	            </tr>
        	</tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
    	<ag-Page fn='comment'></ag-Page>
	</div>
</div>